package com.itheima.day13.thread.test5;

public class Test {
    public static void main(String[] args) {

        String name1 = Thread.currentThread().getName();
        System.out.println(name1);

        MyRubbable mr1 = new MyRubbable();
        Thread t1 = new Thread(mr1);

        t1.setName("张三");

        t1.start();


    }
}
